package com.sea.physical.service;

import com.sea.physical.entity.CreatePlan;
import com.sea.physical.entity.CreatePlanSupplierFile;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 创建发运计划
 * @author 陈鸿飞
 */
public interface CreatePlanSupplierFileService {


    /**
     * 保存
     * @param createPlanSupplierFile
     * @return
     */
    Integer save(CreatePlanSupplierFile createPlanSupplierFile);
    /**
     *
     * @param createPlanNo
     * @return
     */
    List<CreatePlanSupplierFile> findByCreatePlanNo(String createPlanNo);
    /**
     * 根据柜号删除数据
     * @param createPlanNo
     * @return
     */
    Integer deleteByCreatePlanNo(String createPlanNo) throws Exception;

    Integer updateRequestId(String requestId,String createPlanNo,String supplierName);
}
